#!/usr/bin/python
# coding:utf-8
# auther:DT
# 2017-08-15_11-23-02

num = input("请输入内容")
try:
    if float(num) > 100 or float(num) < 0:
        print("你输入的数字不符合0-100的值", num)
    else:
        print("你输入的数值是{0}".format(num))
except:
    print("你输入的不是数值")

print("===============================")
num1 = input("please input a number:")

try:
    c = int(num)
    if c > 100 or c < 0:
        print("your input not is 0-100 number")
    else:
        print("you input is {0}".format(num))
except ValueError:
    print("you input not's number") 
